package cn.bellychang.response;

/**
 * @author ChangLiang
 * @date 2020/9/23
 */
public enum ErrorCode {

    OK("0","成功"),
    REQUEST_TIMEOUT("1001","请求超时"),
    ERROR("500", "服务器错误");

    public String code;

    public String value;

    ErrorCode(String code, String value) {
        this.code = code;
        this.value = value;
    }
}
